<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Price My House: main.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PriceMyHouse.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Price My House&#160;<span id="projectnumber">Alpha 1</span></div>
   <div id="projectbrief">Application documentation, Nokia mobile version</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00004.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">main.cpp File Reference</div>  </div>
</div>
<div class="contents">

<p>Main program.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;QtGui/QApplication&gt;</code><br/>
<code>#include &quot;<a class="el" href="a00007_source.html">qmlapplicationviewer.h</a>&quot;</code><br/>
</div>
<p><a href="a00004_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00004.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Main program. </p>
<p>Price My House for Nokia mobile platforms.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>© 2011 Enrico Miglino / Tech Consulting (<a href="mailto:enrico.miglino@ovi.com">enrico.miglino@ovi.com</a>) </dd>
<dd>
"Evimin Fiyati Price My House" is protected by the copyright law </dd>
<dd>
Distributed under the LGPL 3.0 license. </dd></dl>
<dl class="version"><dt><b>Version:</b></dt><dd>0.1 alpha </dd></dl>
<dl class="date"><dt><b>Date:</b></dt><dd>2011</dd></dl>
<dl class="user"><dt><b>Licensing notes</b></dt><dd></dd></dl>
<p>"Price My House" is free software: you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p>"Price My House" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public License for more details.</p>
<p>You should have received a copy of the Lesser GNU General Public License along with "Price My House". If not, see &lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;. </p>

<p>Definition in file <a class="el" href="a00004_source.html">main.cpp</a>.</p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a><!-- doxytag: member="main.cpp::main" ref="a0ddf1224851353fc92bfbff6f499fa97" args="(int argc, char *argv[])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="a00004_source.html#l00033">33</a> of file <a class="el" href="a00004_source.html">main.cpp</a>.</p>

<p>References <a class="el" href="a00007_source.html#l00022">QmlApplicationViewer::ScreenOrientationLockPortrait</a>, <a class="el" href="a00006_source.html#l00092">QmlApplicationViewer::setMainQmlFile()</a>, <a class="el" href="a00006_source.html#l00103">QmlApplicationViewer::setOrientation()</a>, and <a class="el" href="a00006_source.html#l00146">QmlApplicationViewer::showExpanded()</a>.</p>
<div class="fragment"><pre class="fragment">{
    QApplication app(argc, argv);

    <a class="code" href="a00002.html">QmlApplicationViewer</a> viewer;
    viewer.<a class="code" href="a00002.html#a80f58eb6d6210437a5e788155a865169">setOrientation</a>(<a class="code" href="a00002.html#ac7c7e3771e785af566efd57ef319ac0baa2654139c60cbef50d0a8c21203b10f0">QmlApplicationViewer::ScreenOrientationLockPortrait</a>);
    viewer.<a class="code" href="a00002.html#a41240898c2e371e987fad66304f0acaf">setMainQmlFile</a>(QLatin1String(<span class="stringliteral">&quot;qml/PriceMyHouse/main.qml&quot;</span>));
    viewer.<a class="code" href="a00002.html#ad899dc23f1a2c01276ec428db92215b8">showExpanded</a>();

    <span class="keywordflow">return</span> app.exec();
}
</pre></div>
</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a00004.html">main.cpp</a>      </li>
      <li class="footer">Generated on Sun May 1 2011 15:04:04 for Price My House by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
